package com.becca.cake.service.activity.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.becca.cake.dao.activity.ActivityDAO;
import com.becca.cake.model.activity.ActivityBabyModel;
import com.becca.cake.model.system.AdminDO;
import com.becca.cake.service.activity.IActivityService;

/**
 * 活动管理业务层
 * @copyright  尊星(上海)信息科技有限公司
 * @author hejinguo
 * @date 2016年10月20日 下午10:40:21
 */
@Service
public class ActivitySericeImpl implements IActivityService {
    @Autowired
    private ActivityDAO activityDAO;

    @Override
    @Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
    public void updateAdvIsUsableById(Map<String, Object> map) {
        this.activityDAO.updateAdvIsUsableById(map);
    }

}
